import { resolve } from "path"
import React, { useEffect, useState } from "react"

function getInfo(): Promise<string> {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve(Date.now().toString())
    })
  })
}

const useGetInfo = () => {
  const [loading, setLoading] = useState(true)
  const [info, setInfo] = useState("")
  useEffect()
}
export default useGetInfo
